package com.wit.witmg.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author bob
 * @since 2024-12-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="TStock对象", description="股权结构表")
public class TStock implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private int id;

    @ApiModelProperty(value = "企业信用代码")
    private String pid;//cid 的父级

    private String co;//企业名称

    @ApiModelProperty(value = "类型（1个人、2法人）")
    private Integer tp;

    @ApiModelProperty(value = "股东姓名或名称")
    private String na;

    @ApiModelProperty(value = "股东身份证号或信用代码")
    private String cid;

    @ApiModelProperty(value = "股份比例(小数)或注册资金")
    private Double rs;

    @ApiModelProperty(value = "备注（投票权）")
    private String remark;

    @ApiModelProperty(value = "实缴股本")
    private String st;

    private Date date;

    private transient List<TStock> children;

}
